<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>EOS.IO: contracts/test_api/test_crypto.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN1.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ae9b15dd87e066e1908bbd90e8f38627.html">contracts</a></li><li class="navelem"><a class="el" href="dir_4512a307eab2a9ca08d8433965f51830.html">test_api</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">test_crypto.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="eos_8hpp_source.html">eoslib/eos.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="crypto_8h_source.html">eoslib/crypto.h</a>&gt;</code><br />
<code>#include &quot;<a class="el" href="test__api_8hpp_source.html">test_api.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for test_crypto.cpp:</div>
<div class="dyncontent">
<div class="center"><img src="test__crypto_8cpp__incl.png" border="0" usemap="#contracts_2test__api_2test__crypto_8cpp" alt=""/></div>
<map name="contracts_2test__api_2test__crypto_8cpp" id="contracts_2test__api_2test__crypto_8cpp">
<area shape="rect" id="node2" href="eos_8hpp.html" title="eoslib/eos.hpp" alt="" coords="297,95,403,121"/>
<area shape="rect" id="node14" href="crypto_8h.html" title="eoslib/crypto.h" alt="" coords="559,244,666,271"/>
<area shape="rect" id="node15" href="test__api_8hpp.html" title="test_api.hpp" alt="" coords="647,95,741,121"/>
<area shape="rect" id="node3" href="types_8hpp.html" title="eoslib/types.hpp" alt="" coords="363,319,481,345"/>
<area shape="rect" id="node5" href="message_8hpp.html" title="eoslib/message.hpp" alt="" coords="23,169,162,196"/>
<area shape="rect" id="node8" href="print_8hpp.html" title="eoslib/print.hpp" alt="" coords="237,244,348,271"/>
<area shape="rect" id="node10" href="math_8hpp.html" title="eoslib/math.hpp" alt="" coords="105,319,219,345"/>
<area shape="rect" id="node12" href="transaction_8hpp.html" title="eoslib/transaction.hpp" alt="" coords="423,169,573,196"/>
<area shape="rect" id="node4" href="types_8h.html" title="eoslib/types.h" alt="" coords="409,543,512,569"/>
<area shape="rect" id="node6" href="message_8h.html" title="eoslib/message.h" alt="" coords="5,393,129,420"/>
<area shape="rect" id="node7" href="system_8h.html" title="eoslib/system.h" alt="" coords="146,468,261,495"/>
<area shape="rect" id="node9" href="print_8h.html" title="eoslib/print.h" alt="" coords="243,319,339,345"/>
<area shape="rect" id="node11" href="math_8h.html" title="eoslib/math.h" alt="" coords="153,393,253,420"/>
<area shape="rect" id="node13" href="transaction_8h.html" title="eoslib/transaction.h" alt="" coords="447,468,581,495"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="test__crypto_8cpp__dep__incl.png" border="0" usemap="#contracts_2test__api_2test__crypto_8cppdep" alt=""/></div>
<map name="contracts_2test__api_2test__crypto_8cppdep" id="contracts_2test__api_2test__crypto_8cppdep">
<area shape="rect" id="node2" href="test__api_8cpp.html" title="contracts/test_api\l/test_api.cpp" alt="" coords="5,95,132,136"/>
</map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ab21a7927a82571cd1ecffebcd7d255ac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__crypto_8cpp.html#ab21a7927a82571cd1ecffebcd7d255ac">my_strlen</a> (const char *str)</td></tr>
<tr class="separator:ab21a7927a82571cd1ecffebcd7d255ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7d8481ae8a9f7185f73c4454c3dae57"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__crypto_8cpp.html#ab7d8481ae8a9f7185f73c4454c3dae57">my_memcmp</a> (void *s1, void *s2, <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> n)</td></tr>
<tr class="separator:ab7d8481ae8a9f7185f73c4454c3dae57"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a5c0b0a4d5ca0593870b708343c3eb6c9"><td class="memItemLeft" align="right" valign="top">const char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__crypto_8cpp.html#a5c0b0a4d5ca0593870b708343c3eb6c9">test2</a> [] = &quot;&quot;</td></tr>
<tr class="separator:a5c0b0a4d5ca0593870b708343c3eb6c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a58953140719f1c7c3f0636d0a5f4b8"><td class="memItemLeft" align="right" valign="top">const unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="test__crypto_8cpp.html#a6a58953140719f1c7c3f0636d0a5f4b8">test2_ok</a> []</td></tr>
<tr class="separator:a6a58953140719f1c7c3f0636d0a5f4b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><dl class="section copyright"><dt>Copyright</dt><dd>defined in eos/LICENSE.txt </dd></dl>
</div><h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ab7d8481ae8a9f7185f73c4454c3dae57"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool my_memcmp </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>s1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>s2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab21a7927a82571cd1ecffebcd7d255ac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> my_strlen </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>str</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a5c0b0a4d5ca0593870b708343c3eb6c9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char test2[] = &quot;&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a6a58953140719f1c7c3f0636d0a5f4b8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const unsigned char test2_ok[]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= { </div><div class="line">  0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14,</div><div class="line">  0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24,</div><div class="line">  0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c,</div><div class="line">  0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55</div><div class="line">}</div></div><!-- fragment -->
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
